/**
 * Created by Miss Li on 2017/6/3.
 */

window.onload = function() {
    seajs.use(['jquery-1.8.2.js', 'iscroll_module.js', 'mdialog_module.js', 'util_module.js'], function(Z, I, M, U) {
        U.fillHead();
        U.fillFooter();
        var contentHeight = document.body.scrollHeight;//网页正文全文高度
        var winHeight = window.innerHeight;

        if(contentHeight<winHeight){
            contentHeight=winHeight;
        }
        $(".content").css("height",(contentHeight-306)+"px");
    });
};
